package com.aizhixin.lab.task.domain;


import java.util.ArrayList;
import java.util.List;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@ApiModel
public class TaskQuestionChoiceDomain {

	private String id;
	@NotNull
	@ApiModelProperty(value = "题目选项", required = true)
	private String option;
	@NotNull
	@ApiModelProperty(value = "题目选项内容", required = true)
	private String choiceContent;
	private String taskQuestionId;
	
	@ApiModelProperty(value="选项附件集合")
	private List<TaskFileDomain> accessorylist = new ArrayList<TaskFileDomain>();
	
	public TaskQuestionChoiceDomain(){}
	
	public TaskQuestionChoiceDomain(String id,String option,String choiceContent,String taskQuestionId){
		this.id = id;
		this.option = option;
		this.choiceContent = choiceContent;
		this.taskQuestionId=taskQuestionId;
	}
	public TaskQuestionChoiceDomain(String id,String option,String choiceContent){
		this.id = id;
		this.option = option;
		this.choiceContent = choiceContent;
	}
}
